<div class="dj-formtable">
    <table class="dj-table">
        <tr>
            <th>选择题库<span style="color: red;">*</span></th>
            <td style="width: 70%;">
                <tree-select data-url="libaryTreeConfig.url" data-value="libaryTreeConfig.value" data-ismulti="libaryTreeConfig.ismulti" data-params="libaryTreeConfig.params"></tree-select>

            </td>
        </tr>
        <tr>
            <th>选择题型<span style="color: red;">*</span></th>
            <td >
                <div link-condition ng-model="selectparams.questionTypeList" all-Text=""   single-Mode="2"  source-list="questiontypeList" text-field="name" value-field="baseQuestionTypeId"></div>

            </td>
        </tr>
        <tr>
            <th>设置数量<span style="color: red;">*</span></th>
            <td ng-class="{ 'focused error' : this.editForm.questionnumber.$invalid &&  this.editForm.$submitted}">
                <input type="number" name="questionnumber" ng-model="selectparams.questionnumber" style="width: 200px;"
                       class="form-control" ng-required="true" ng-pattern="/^[1-9]+[0-9]{0,}$/"/>
                <span ng-show="this.editForm.questionnumber.$invalid &&  this.editForm.$submitted"
                      class="error">数量必须大于0</span>
            </td>
        </tr>
        <tr>
            <th></th>
            <td> <span style="font-size: 12px;color: #7f8690"><i class="glyphicon glyphicon-exclamation-sign"></i>如选择了多种题型，系统会按设置数量随机分配</span></td>
        </tr>
        <tr>
            <Td colspan="2" style="text-align: center">
                <button type="submit"
                        class="btn btn-primary"
                        ng-click="nextTwo(this.editForm.$valid)" >进入测试
                </button>
            </Td>
        </tr>
    </table>
</div>
